package com.github.ginirohikocha.dbm.entity;

import java.io.Serializable;
import java.math.BigDecimal;

public class Offer implements Serializable {

    private Integer id;
    private String orderNum;
    private Integer offerAmount;
    private String offerTitle;
    private String offerDescription;
    private Integer productsId;
    private BigDecimal offerPrice;
    private String offerStatus;

    public Offer() {}

    public Offer(Integer id, String orderNum, Integer offerAmount, String offerTitle, String offerDescription, Integer productsId, BigDecimal offerPrice, String offerStatus) {
        this.id = id;
        this.orderNum = orderNum;
        this.offerAmount = offerAmount;
        this.offerTitle = offerTitle;
        this.offerDescription = offerDescription;
        this.productsId = productsId;
        this.offerPrice = offerPrice;
        this.offerStatus = offerStatus;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getOrderNum() {
        return orderNum;
    }

    public void setOrderNum(String orderNum) {
        this.orderNum = orderNum;
    }

    public Integer getOfferAmount() {
        return offerAmount;
    }

    public void setOfferAmount(Integer offerAmount) {
        this.offerAmount = offerAmount;
    }

    public String getOfferTitle() {
        return offerTitle;
    }

    public void setOfferTitle(String offerTitle) {
        this.offerTitle = offerTitle;
    }

    public String getOfferDescription() {
        return offerDescription;
    }

    public void setOfferDescription(String offerDescription) {
        this.offerDescription = offerDescription;
    }

    public Integer getProductsId() {
        return productsId;
    }

    public void setProductsId(Integer productsId) {
        this.productsId = productsId;
    }

    public BigDecimal getOfferPrice() {
        return offerPrice;
    }

    public void setOfferPrice(BigDecimal offerPrice) {
        this.offerPrice = offerPrice;
    }

    public String getOfferStatus() {
        return offerStatus;
    }

    public void setOfferStatus(String offerStatus) {
        this.offerStatus = offerStatus;
    }

    @Override
    public String toString() {
        return "Offer{" +
                "id=" + id +
                ", orderNum=" + orderNum +
                ", offerAmount=" + offerAmount +
                ", offerTitle=" + offerTitle +
                ", offerDescription=" + offerDescription +
                ", productsId=" + productsId +
                ", offerPrice=" + offerPrice +
                ", offerStatus=" + offerStatus +
                "}";
    }
}

